<#assign script_controller = 'group/group_member' />
<@block_title "${groupinfo.title}}小组"/>

<#include '/group/layout.ftl'/>

<#macro blockGroupBody>
  <div class="panel panel-default panel-lg">
    <div class="panel-heading">

      <div class="row">
        <div class="col-sm-8"><h1>话题搜索</h1></div>
        <div class="col-sm-4">
             <form action="${ctx}/group/${groupinfo.id}/search" method="get">
              <div class="input-group col-md-8 pull-right">
                <input type="hidden" name="_csrf_token" value="${csrf_token('site')}">
                <input type="text" class="form-control" placeholder="组内搜索" name="keyWord" value="${RequestParameters['keyWord']!''}">
                <span class="input-group-btn">
                <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
                </span>
              </div>
            </form>
        </div>
      </div>

    </div>

    <div class="panel-body">
         <div class="col-md-8">
             <#-- include with 'threads':threads, 'users':owner, 'lastPostMembers':lastPostMembers, -->
            <#assign users = owner!/>
            <#include '/group/groups-threads-ul.ftl'/>
          <@web_macro.paginator paginator!/>
        </div>
    </div>
  </div>

</#macro>
